package com.usian.service;

import com.usian.common.dto.TeamDTO;
import com.usian.common.untils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @projectName: 2210A-project1
 * @package: com.usian.service
 * @className: TeamFeignService
 * @author: 莫洪维
 * @email: 1204315800@qq.com
 * @description: TODO
 * @date: 2023/8/28 20:52
 */
@FeignClient("day14Member")
public interface TeamFeignService {

    /**
     * 查询所有战队方法
     * @param teamDTO
     * @return
     */
    @RequestMapping(value = "/team/findAll",method = RequestMethod.GET)
    public Result findAll(@SpringQueryMap TeamDTO teamDTO);
}
